<?xml version="1.0" encoding="UTF-8"?>
<!-- 精简版模版 -->
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
          xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
        >
    <Worksheet ss:Name="${sheetName!'sheet1'}">
        <Table>
            <!-- captions -->
        <#if captions!?size gt 0>
            <Row>
                <#list captions as caption>
                    <Cell>
                        <Data ss:Type="String">${caption!}</Data>
                    </Cell>
                </#list>
            </Row>
        </#if>
            <!-- rows -->
        <#list content! as c>
            <#if c.data!?size gt 0>
                <Row>
                    <#list c.data as item>
                        <Cell>
                            <!-- 注意 fm 不支持boolean 类型输出 -->
                            <Data ss:Type="String">${item!}</Data>
                        </Cell>
                    </#list>
                </Row>
            </#if>
        </#list>
        </Table>
    <#if captions!?size gt 0>
        <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
            <FreezePanes/>
            <FrozenNoSplit/>
            <SplitHorizontal>1</SplitHorizontal>
            <TopRowBottomPane>1</TopRowBottomPane>
        </WorksheetOptions>
    </#if>
    </Worksheet>
</Workbook>
